package com.sailfish.springbootdemo.pojo.db2;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.sailfish.springbootdemo.pojo.db4.User;

import java.io.Serializable;
import java.util.Date;

/**
 * (TbPcbCapacityDataApprove)实体类
 *
 * @author makejava
 * @since 2023-09-07 09:45:36
 */
public class PcbCapacityDataApprove implements Serializable {
    private static final long serialVersionUID = -79838714833363461L;

    private Integer id;

    private String flowNum;
    private Integer seq;
    private Integer flowType;

    private Integer parentFactoryId;

    private Integer factoryId;

    private String approveStatus;

    private String remark;

    private String approveUserId;

    private String createUser;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    private String updateUser;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;

    // 2024.12.13提交时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date submitTime;

    private Integer status; //0表示invalid

    private Integer sort;

    private String rowKey;

    private PcbSonFactoryInfo factoryInfo;

    private User approveUserInfo;
    private User createUserInfo;
    private User updateUserInfo;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getFlowNum() {
        return flowNum;
    }

    public void setFlowNum(String flowNum) {
        this.flowNum = flowNum;
    }

    public Integer getSeq() {
        return seq;
    }

    public void setSeq(Integer seq) {
        this.seq = seq;
    }

    public Integer getFlowType() {
        return flowType;
    }

    public void setFlowType(Integer flowType) {
        this.flowType = flowType;
    }

    public Integer getParentFactoryId() {
        return parentFactoryId;
    }

    public void setParentFactoryId(Integer parentFactoryId) {
        this.parentFactoryId = parentFactoryId;
    }

    public Integer getFactoryId() {
        return factoryId;
    }

    public void setFactoryId(Integer factoryId) {
        this.factoryId = factoryId;
    }

    public String getApproveStatus() {
        return approveStatus;
    }

    public void setApproveStatus(String approveStatus) {
        this.approveStatus = approveStatus;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }


    public Date getSubmitTime() {
        return submitTime;
    }

    public void setSubmitTime(Date submitTime) {
        this.submitTime = submitTime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public String getRowKey() {
        return rowKey;
    }

    public void setRowKey(String rowKey) {
        this.rowKey = rowKey;
    }

    public String getApproveUserId() {
        return approveUserId;
    }

    public void setApproveUserId(String approveUserId) {
        this.approveUserId = approveUserId;
    }

    public PcbSonFactoryInfo getFactoryInfo() {
        return factoryInfo;
    }

    public void setFactoryInfo(PcbSonFactoryInfo factoryInfo) {
        this.factoryInfo = factoryInfo;
    }

//    public PcbParentFactoryInfo getPcbParentFactoryInfo() {
//        return pcbParentFactoryInfo;
//    }
//
//    public void setPcbParentFactoryInfo(PcbParentFactoryInfo pcbParentFactoryInfo) {
//        this.pcbParentFactoryInfo = pcbParentFactoryInfo;
//    }


    public User getApproveUserInfo() {
        return approveUserInfo;
    }

    public void setApproveUserInfo(User approveUserInfo) {
        this.approveUserInfo = approveUserInfo;
    }

    public User getCreateUserInfo() {
        return createUserInfo;
    }

    public void setCreateUserInfo(User createUserInfo) {
        this.createUserInfo = createUserInfo;
    }

    public User getUpdateUserInfo() {
        return updateUserInfo;
    }

    public void setUpdateUserInfo(User updateUserInfo) {
        this.updateUserInfo = updateUserInfo;
    }
}

